package com.achao.javabean.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * (Role)实体类
 *
 * @author makejava
 * @since 2022-07-24 20:03:32
 */
@Data
public class Role implements Serializable {
    private static final long serialVersionUID = -79610997035102453L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 角色描述
     */
    private String label;
    /**
     * 角色对应标签
     */
    private String code;
    /**
     * 状态 0:启用 1:禁用
     */
    private Integer status;

    public Role() {
    }

    public Role(String label, String code) {
        this.label = label;
        this.code = code;
    }
}

